//
//@File    :	4.6_numstr.cpp
//@Time    :	2021/08/03 14:55:34
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	following number input with line input
//

#include <iostream>

int main()
{
    using namespace std;
    cout<<"What year was your house bulit?\n";
    int year;
    cin>>year;
    cout<<"What is its street address?\n";
    char address[80];
    cin.getline(address,80);
    cout<<"Year bulit: "<<year<<endl;
    cout<<"Address:"<<address<<endl;
    cout<<"Done!\n";
    system("pause");
    return 0;
}